import { NullablePromise, addon } from "pao-aop";

/**
 *  设备
 */
export interface Device {

}
/**  设备 */
@addon('IDeviceService', '设备', '设备')
export class IDeviceService {

    /** 绑定设备 */
    update_device?(condition?: {}): NullablePromise<boolean> {
        return undefined;
    }
    /** 获取设备列表 */
    get_device?(condition?: {}, page?: number, count?: number): NullablePromise<boolean> {
        return undefined;
    }
    /** 解除绑定设备 */
    delete_device?(ids: string[]): NullablePromise<boolean> {
        return undefined;
    }
}